package com.ace.user.module.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@TableName("system_config")
public class SystemConfig implements Serializable {

    @TableId
    private Integer id;

    private String appId;


    private String appSecret;

    /**
     * 1-声网；2-融云；3-三体云
     */
    private String rtcType;

    /**
     * 会话服务url
     */
    private String sessionUrl;

    /**
     * 消息服务url
     */
    private String imUrl;

    /**
     * 流媒体项目标识
     */
    private String rtcAppId;


    /**
     * 流媒体项目密码
     */
    private String rtcAppSecret;

    /**
     * token服务url
     */
    private String tokenUrl;


    /**
     * 管理服务url
     */
    private String cmpUrl;


    private Integer compareMode;


    public static final String DB_APP_ID = "app_id";
}
